using System;
using CI.Mesopotamia.MesopotamiaCmdLine;
using NUnit.Framework;
using CI;

namespace Mesopotamia.SoakTests
{
    [TestFixture]
    public class MSRBHostTests
    {
        /// <summary>
        /// setup
        /// </summary>
        [SetUp]
        public void Setup()
        {
            Globals.ContinousRestart = false;
        }

        /// <summary>Do a time test of 5 mins</summary>
        [Test,Category("5Min")]
        public void MesopotamiaCmdLine005mins()
        {

            Globals.BreakTime = new TimeSpan(0, 5, 0);            
            Program.Main(new string[] { }); 
        }

        /// <summary>Do a time test of 15 mins</summary>
        [Test]
        public void MesopotamiaCmdLine015mins()
        {
            Globals.BreakTime = new TimeSpan(0, 15, 0);
            Program.Main(new string[] { });            
        }

        /// <summary>Do a time test of 30 mins</summary>
        [Test]
        public void MesopotamiaCmdLine030mins()
        {
            Globals.BreakTime = new TimeSpan(0, 30, 0);
            Program.Main(new string[] { });
        }

        /// <summary>Do a time test of 60 mins</summary>
        [Test]
        public void MesopotamiaCmdLine060mins()
        {
            Globals.BreakTime = new TimeSpan(1, 0, 0);
            Program.Main(new string[] { });
        }

        /// <summary>Do a time test of 120 mins</summary>
        [Test]
        public void MesopotamiaCmdLine120mins()
        {
            Globals.BreakTime = new TimeSpan(2, 0, 0);
            Program.Main(new string[] { });
        }

        /// <summary>Do a time test of 240 mins</summary>
        [Test]
        public void MesopotamiaCmdLine240mins()
        {
            Globals.BreakTime = new TimeSpan(4, 0, 0);
            Program.Main(new string[] { });
        }
    }
    
}

